//-----------------------------------------------------------------------------
//  File          : hwdef.h
//  Module        : hwdef
//  Description   : 
//  Author        : Pody
//  Notes         :
//
// ============================================================================
// | Naming conventions                                                       |
// | ~~~~~~~~~~~~~~~~~~                                                       |
// |         Class define : Leading C                                         |
// |                Class : Leading c                                         |
// |        Struct define : Leading T                                         |
// |               Struct : Leading s                                         |
// |             Constant : Leading K                                         |
// |      Global Variable : Leading g                                         |
// |    Function argument : Leading a                                         |
// |       Local Variable : All lower case                                    |
// |            Char size : Leading c                                         |
// |             Int size : Leading i                                         |
// |            Byte size : Leading b                                         |
// |            Word size : Leading w                                         |
// |           Dword size : Leading d                                         |
// |          DDword size : Leading dd                                        |
// |                Array : Leading s, (sb = arrary of byte, etc)             |
// |              Pointer : Leading p, (pb = pointer of byte, etc)            |
// ============================================================================
//  Date          Who         Action
//  ------------  ----------- -------------------------------------------------
//                Pody        Initial Version.
//-----------------------------------------------------------------------------


#ifndef _HWDEF_H_
#define _HWDEF_H_

//-----------------------------------------------------------------------------
// Defines
//-----------------------------------------------------------------------------
//  HW support or not
#if (PR608)
  // Pack   V1.9
  // System V1.8
  // Base   V1.5
  #define CLCD_SUPPORT      FALSE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       TRUE
  #define LPT_SUPPORT       FALSE
  #define TMLPT_SUPPORT     FALSE
  #define USBH_SUPPORT      FALSE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      FALSE
  #define AUXD_SUPPORT      FALSE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      TRUE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     TRUE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      FALSE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       TRUE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#elif (TIRO)
  #define CLCD_SUPPORT      FALSE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       TRUE
  #define LPT_SUPPORT       TRUE
  #define TMLPT_SUPPORT     FALSE
  #define USBH_SUPPORT      FALSE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      TRUE
  #define AUXD_SUPPORT      TRUE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      TRUE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     FALSE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      TRUE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       FALSE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#elif (R700)
  // Pack   V1.3a
  // System V1.xa
  // Base   V1.xa
  #define CLCD_SUPPORT      FALSE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       FALSE
  #define LPT_SUPPORT       FALSE
  #define TMLPT_SUPPORT     TRUE
  #define USBH_SUPPORT      TRUE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      FALSE
  #define AUXD_SUPPORT      FALSE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      TRUE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     TRUE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      FALSE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       FALSE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#elif (T800)
  #define CLCD_SUPPORT      TRUE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       TRUE
  #define LPT_SUPPORT       FALSE
  #define TMLPT_SUPPORT     TRUE
  #define USBH_SUPPORT      TRUE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      TRUE
  #define AUXD_SUPPORT      TRUE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      FALSE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     FALSE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      TRUE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       FALSE
  #define TILT_SUPPORT      TRUE
  #define PN532_SUPPORT     TRUE
#elif (PR608D)
  // Pack   V1.0
  // System V1.0
  // Base   V1.0
  #define CLCD_SUPPORT      FALSE
  #define DOCK_SUPPORT      TRUE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       TRUE
  #define LPT_SUPPORT       TRUE
  #define TMLPT_SUPPORT     FALSE
  #define USBH_SUPPORT      FALSE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      FALSE
  #define AUXD_SUPPORT      FALSE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      FALSE
  #define ECR1_SUPPORT      TRUE
  #define ECR2_SUPPORT      TRUE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     FALSE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      FALSE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       TRUE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#elif (T700)
  #define CLCD_SUPPORT      FALSE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       FALSE
  #define LPT_SUPPORT       FALSE
  #define TMLPT_SUPPORT     TRUE
  #define USBH_SUPPORT      TRUE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      TRUE
  #define AUXD_SUPPORT      TRUE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      FALSE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       FALSE
  #define MSR_SUPPORT       FALSE
  #define CICC_SUPPORT      FALSE
  #define CLICC_SUPPORT     FALSE
  #define SAM1_SUPPORT      FALSE
  #define SAM2_SUPPORT      FALSE
  #define SAM3_SUPPORT      FALSE
  #define SAM4_SUPPORT      FALSE
  #define MDM_SUPPORT       FALSE
  #define CDC_SUPPORT       FALSE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#elif (T1000)
  // Pack   V1.0a
  // System V1.0a
  // Base   V1.0a
  #define CLCD_SUPPORT      TRUE
  #define DOCK_SUPPORT      FALSE
  #define RTC_SUPPORT       TRUE
  #define RAM_SUPPORT       TRUE
  #define MSD_SUPPORT       TRUE
  #define LPT_SUPPORT       FALSE
  #define TMLPT_SUPPORT     TRUE
  #define USBH_SUPPORT      TRUE
  #define USBS_SUPPORT      TRUE
  #define GPRS_SUPPORT      TRUE
  #define AUXD_SUPPORT      TRUE
  #define AUX1_SUPPORT      TRUE
  #define AUX2_SUPPORT      FALSE
  #define ECR1_SUPPORT      FALSE
  #define ECR2_SUPPORT      FALSE
  #define LAN_SUPPORT       TRUE
  #define MSR_SUPPORT       TRUE
  #define CICC_SUPPORT      TRUE
  #define CLICC_SUPPORT     TRUE
  #define SAM1_SUPPORT      TRUE
  #define SAM2_SUPPORT      TRUE
  #define SAM3_SUPPORT      TRUE
  #define SAM4_SUPPORT      TRUE
  #define MDM_SUPPORT       TRUE
  #define CDC_SUPPORT       TRUE
  #define TILT_SUPPORT      FALSE
  #define PN532_SUPPORT     FALSE
#else
  NEW_TERMINAL_HERE
#endif


//----------------------------------------------------------------------------
// Constant
//----------------------------------------------------------------------------

//----------------------------------------------------------------------------
// Globals
//----------------------------------------------------------------------------

//----------------------------------------------------------------------------
// Generic API
//----------------------------------------------------------------------------



//-----------------------------------------------------------------------------
#endif //_HWDEF_H_

